<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<header th:replace="admin/header::header-fragment"></header>
<style>
    .ui-jqgrid tr.jqgrow td {
        white-space: normal !important;
        height: auto;
        vertical-align: text-top;
        padding-top: 2px;
    }

    a {
        color: #1baeae;
        text-decoration: none;
        background-color: transparent;
        -webkit-text-decoration-skip: objects;
    }

    a:hover {
        color: white;
        background-color: #1baeae;
    }
</style>
<body>
<div class="wrapper">
    <!-- 引入页面头部header-fragment -->
    <div th:replace="admin/header::header-nav"></div>
    <!-- 引入工具栏sidebar-fragment -->
    <div th:replace="admin/sidebar::sidebar-fragment(${path})"></div>

    <div class="content-wrapper">
        <section class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">
                </div>
            </div><!-- /.container-fluid -->
        </section>
        <!-- Main content -->
        <section class="content">
            <div class="col-md-12 ">
                <div class="card card-outline card-primary">
                    <div class="card-header">
                        <h3 class="card-title">
                            商品管理
                        </h3>
                    </div>
                    <!-- /.card-header -->
                    <div class="card-body">
                        <div class="grid-btn">
                            <button class="btn btn-info" onclick="addGoods()"><i
                                    class="fa fa-plus"></i>&nbsp;添加商品
                            </button>
                            <button class="btn btn-info" onclick="editGoods()"><i
                                    class="fa fa-pencil-square-o"></i>&nbsp;修改商品
                            </button>
                            <button class="btn btn-success" onclick="putUpGoods()"><i
                                    class="fa fa-arrow-up"></i>&nbsp;上架商品
                            </button>
                            <button class="btn btn-danger" onclick="putDownGoods()"><i
                                    class="fa fa-arrow-down"></i>&nbsp;下架商品
                            </button>
                        </div>
                        <table id="jqGrid" class="table table-bordered"></table>
                        <div id="jqGridPager"></div>
                    </div>
                    <!-- /.card-body -->
                </div>
                <!-- /.card -->
            </div>
        </section>
    </div>
    <footer class="main-footer">
        <strong>Copyright &copy; 2014-2019 <a href="http://adminlte.io">AdminLTE.io</a>.</strong>
        All rights reserved.
        <div class="float-right d-none d-sm-inline-block">
            <b>Version</b> 3.0.1
        </div>
    </footer>
    <!-- Control Sidebar -->
    <aside class="control-sidebar control-sidebar-dark">
        <!-- Control sidebar content goes here -->
    </aside>
</div>

<script src="../../admin/plugins/jquery/jquery.min.js"></script>
<script src="../../admin/plugins/jquery-ui/jquery-ui.min.js"></script>
<!--<script>
    $.widget.bridge('uibutton', $.ui.button)
</script>-->
<!-- Bootstrap 4 -->
<script src="../../admin/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!--<script th:src="@{/admins/plugins/bootstrap/js/bootstrap.bundle.min.js}"></script>-->
<!---->
<script src="../../admin/plugins/chart.js/Chart.min.js"></script>
<!-- Sparkline -->
<script src="../../admin/plugins/sparklines/sparkline.js"></script>
<!-- JQVMap -->
<script src="../../admin/plugins/jqvmap/jquery.vmap.min.js"></script>
<script src="../../admin/plugins/jqvmap/maps/jquery.vmap.usa.js"></script>
<!-- jQuery Knob Chart -->
<script src="../../admin/plugins/jquery-knob/jquery.knob.min.js"></script>
<!-- daterangepicker -->
<script src="../../admin/plugins/moment/moment.min.js"></script>
<script src="../../admin/plugins/daterangepicker/daterangepicker.js"></script>
<!-- Tempusdominus Bootstrap 4 -->
<script src="../../admin/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js"></script>
<!-- Summernote -->
<!--<script src="../../admin/plugins/summernote/summernote-bs4.min.js"></script>-->
<!-- overlayScrollbars -->
<script src="../../admin/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js"></script>
<!-- AdminLTE App -->
<script src="../../admin/dist/js/adminlte.min.js"></script>
<script src="../../admin/plugins/sweetalert/sweetalert.min.js"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<!--<script src="../../admin/dist/js/pages/dashboard.js"></script>-->
<!-- AdminLTE for demo purposes -->
<script src="../../admin/dist/js/demo.js"></script>
<script src="../../admin/js/public.js"></script>
<!--<script src="../../admins/dist/js/public.js"></script>-->

<script src="../../admin/js/newbee_mall_goods_edit.js"></script>
<script src="../../admin/plugins/jquery/jquery.min.js"></script>

<script src="../../admin/plugins/jquery-ui/jquery-ui.min.js"></script>


<script src="../../admin/jqgrid-5.3.0/jquery.jqGrid.min.js"></script>
<script src="../../admin/jqgrid-5.3.0/grid.locale-cn.js"></script>
<!-- jQuery -->
<!--<script th:src="@{/admins/plugins/jquery/jquery.min.js}"></script>-->
<!-- jQuery UI 1.11.4 -->
<!--<script th:src="@{/admins/plugins/jQueryUI/jquery-ui.min.js}"></script>-->
<!-- Bootstrap 4 -->
<!-- jqgrid -->
<!--<script th:src="@{/admins/plugins/jqgrid-5.3.0/jquery.jqGrid.min.js}"></script>-->
<!--<script th:src="@{/admin/plugins/jqgrid-5.3.0/grid.locale-cn.js}"></script>-->
<!--<script th:src="@{/admins/plugins/jqgrid-5.3.0/grid.locale-cn.js}"></script>-->
<!-- AdminLTE App -->
<!--<script th:src="@{/admins/dist/js/adminlte.min.js}"></script>-->
<!-- sweetalert -->
<!--<script th:src="@{/admins/plugins/sweetalert/sweetalert.min.js}"></script>-->
<!--<script th:src="@{/admins/dist/js/public.js}"></script>-->
<!--<script th:src="@{/admins/dist/js/newbee_mall_goods.js}"></script>-->
</body>
</html>